Scroll to navigation

XmMapSegmentEncoding(library call) XmMapSegmentEncoding(library call)

NAME

XmMapSegmentEncoding — A compound string function that returns the compound text encoding format associated with the specified font list tag

SYNOPSIS

#include <Xm/Xm.h>
char * XmMapSegmentEncoding(
char *fontlist_tag);

DESCRIPTION

XmMapSegmentEncoding searches the segment encoding registry for an entry that matches the specified font list tag and returns a copy of the associated compound text encoding format. The application is responsible for freeing the storage associated with the returned data by calling XtFree.

Specifies the compound string font list tag

RETURN

Returns a copy of the associated compound text encoding format if the font list tag is found in the registry; otherwise, returns NULL.

RELATED

XmCvtXmStringToCT(3), XmFontList(3), XmRegisterSegmentEncoding(3), and XmString(3).